
delete from BD_RELATEDAPP where APPCODE like '20061401%';
go

INSERT INTO BD_RELATEDAPP (APPCODE, DR, PAGECODE, PK_BILLTYPECODE, PK_BILLTYPEID, PK_RELATEDAPP, PRIORITY, SENCE, TS, VDEF1, VDEF2, VDEF3) VALUES ('20061401', null, '20061401L_CARD', 'DCH1', '0001ZZZZ5550B4E112D1', '0001ZZZZec919de8727c', 0, 4, '2021-07-07 11:05:39', null, null, null);
go
INSERT INTO BD_RELATEDAPP (APPCODE, DR, PAGECODE, PK_BILLTYPECODE, PK_BILLTYPEID, PK_RELATEDAPP, PRIORITY, SENCE, TS, VDEF1, VDEF2, VDEF3) VALUES ('20061401A', null, null, 'DCH1', '0001ZZZZ5550B4E112D1', '0001ZZZZa088e0b2fe03', 0, 3, '2021-07-07 11:05:39', null, null, null);
go
